package org.xxpay.service.dao.mapper;

import org.apache.ibatis.annotations.Param;
import org.xxpay.core.entity.PayDomain;
import org.xxpay.core.entity.PayDomainExample;

import java.util.List;

public interface PayDomainMapper {
    int countByExample(PayDomainExample example);

    int deleteByExample(PayDomainExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PayDomain record);

    int insertSelective(PayDomain record);

    List<PayDomain> selectByExample(PayDomainExample example);

    PayDomain selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PayDomain record, @Param("example") PayDomainExample example);

    int updateByExample(@Param("record") PayDomain record, @Param("example") PayDomainExample example);

    int updateByPrimaryKeySelective(PayDomain record);

    int updateByPrimaryKey(PayDomain record);
}